package com.ihr360.expr.core;

import com.ihr360.expr.ExprException;
import com.ihr360.expr.context.IEvaluationContext;

public abstract class ExprEvaluatable extends Expr {
    protected ExprEvaluatable(ExprType type) {
        super(type, true);
    }

    @Override
    public boolean isVolatile() {
        return true;
    }

    public abstract Expr evaluate(IEvaluationContext context)
            throws ExprException;
}